<div class="grid_3 alpha mainMenu">
	<?= $this->widget('navigation', 'navigation', array('menu_id' => 1));?>
</div>
<div class="grid_9 news">
	<h1 class="head_feedback"><?= $this->translate('Contact us');?></h1>
	<div class="form_feedback">
		<div class="flash"><?= $this->flashMessenger(); ?></div>
		<?= $this->form;?>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$("#username").val('<?= $this->translate('Your name');?>');
	$("#username").click(function(){
		if($(this).val() == '<?= $this->translate('Your name');?>') {
			$(this).val('');
		}
		return false;
	});
	$("#username").blur(function(){
		if($(this).val() == '') {
			$(this).val('<?= $this->translate('Your name');?>');
		}
	});

	$("#email").val('<?= $this->translate('Email');?>');
	$("#email").click(function(){
		if($(this).val() == '<?= $this->translate('Email');?>') {
			$(this).val('');
		}
		return false;
	});
	$("#email").blur(function(){
		if($(this).val() == '') {
			$(this).val('<?= $this->translate('Email');?>');
		}
	});
	$("#message").css('background','url(/img/bg-message-<?= $this->LANG;?>.png) top left transparent');
	$("#message").click(function(){
		$("#message").css('background','url(/img/bg-input.png) top center transparent');
		return false;
	});
	$("#message").blur(function(){
		if($(this).val() == '') {
			$("#message").css('background','url(/img/bg-message-<?= $this->LANG;?>.png) top left transparent');
		}
	});
});


$(document).ready(function(){
	div_h = $("#wrapper").height() - 80 - 138;
	if ($.browser.mozilla === true) {
		k = div_h - 21;
		$(".mainMenu").height(div_h - 20);
		$(".news").height(k + 1);
		$(".wrapper2").height(k + 21);
	} else {
		k = div_h - 20;
		$(".mainMenu").height(k);
		$(".news").height(k);
		$(".wrapper2").height(div_h);
	}
});
</script>